package org.blue.restful.client.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.blue.restful.client.RestDeserializer;
import org.blue.restful.client.RestSerializer;
import org.blue.restful.client.impl.DefaultDeserializer;
import org.blue.restful.client.impl.DefaultSerializer;

/**
 * Created by Lucifer on 1/23/2017.
 */

@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface GET {
	String value();

	Class<? extends RestDeserializer> deserializer() default DefaultDeserializer.class;

	Class<? extends RestSerializer> serializer() default DefaultSerializer.class;
}
